Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

798
Views
Docker nfs volumen mysql - Cómo corregir: "no se pudo copiar la información del archivo"

Creé un servicio "mysql" con docker-compose con un volumen nfs. El servicio no se inicia y da el siguiente error:

 "failed to copy file info for /var/lib/docker/volumes/db_data/_data: failed to chown /var/lib/docker/volumes/db_data/_data: lchown /var/lib/docker/volumes/db_data/_data: operation not permitted"

Probé con "couchdb" pero tiene el mismo problema

a continuación se muestra un fragmento de código de ejemplo:

 version: "3.7" networks: web: external: true services: db: image: mysql:5.7 networks: - web environment: MYSQL_ROOT_PASSWORD: xxxxxx MYSQL_DATABASE: xxxxxx MYSQL_USER: xxxxxx MYSQL_PASSWORD: xxxxxx volumes: - db_data:/var/lib/mysql volumes: db_data: driver_opts: type: nfs o: addr=xxxx,nolock,soft,rw device: :/var/nfs/db_data

¿Cuál es la forma correcta y mejor de hacer que funcione?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

¡Intenta arreglarlo desde el lado del servidor! En el servidor NFS, verifique el archivo "/etc/exports". Deberías tener algo como esto:

 /var/nfs/db_data xxxx/24(rw,sync,no_subtree_check)

Intente agregar la opción "no_root_squash":

 /var/nfs/db_data xxxx/24(rw,sync,no_root_squash,no_subtree_check)
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!